<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script type="text/javascript">
    function get(){
    				var count = 0;
    				for (var i = 100; i <= 200 ; i++) {
    					var g = i%10;
    					var s = i/10%10;
    					var b = i/100;
    					if(parseInt(g)==3){
                            count++;
    					}
    					if(parseInt(s)==3){
                            count++;
    					}
    				}
    				return count;
    			}
    			alert(get());
</script>
</body>
</html>